package com.whl.sm.service.notice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.whl.sm.common.result.Result;
import com.whl.sm.model.notice.CommunityNotice;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wuhaolun
 * @since 2021-11-17
 */
public interface CommunityNoticeService extends IService<CommunityNotice> {

    Result update(CommunityNotice communityNotice);


    Result publish(CommunityNotice communityNotice);


    Result buildPersonalNotice(List<String> linkUser, String title, String content);
}
